# coding:utf-8


def format_fields(fields_list):
    return ','.join(map('`{}`'.format, fields_list)), ('%s,' * len(fields_list))[:-1]
